package com.ypj.indusynergyems.dao.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@TableName("shop")
public class ShopEntity {
    /**
     * shop_id
     */
    private Integer shopId;

    /**
     * 店铺编号
     */
    private String shopNum;

    /**
     * 公司编号
     */
    private String companyNum;

    /**
     * user_id
     */
    private Integer userId;

    /**
     * shop_name
     */
    private String shopName;

    /**
     * shop_type
     */
    private Integer shopType;

    /**
     * registration_time
     */
    @TableField(fill = FieldFill.INSERT)
    private Date registrationTime;

    /**
     * 店铺状态
     */
    @TableField(fill = FieldFill.INSERT)
    private Integer status;

    /**
     * 店铺申请状态（公司）
     */
    private Integer shopApply;

    /**
     * 店铺电话
     */
    private String shopPhone;

    /**
     * 店铺地址
     */
    private String shopAddress;

    /**
     * 店铺图片
     */
    private String shopImg;

    /**
     * 店铺平台审核状态
     */
    private Integer shopPlatformApply;
}
